package com.ruoyi.store.feign;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.flashpay.domain.TbOrder;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(contextId = "orderFeignClient", value = ServiceNameConstants.ORDER_SERVICE)
public interface OrderClient {
    @PostMapping("/order")
    public AjaxResult add(@RequestBody TbOrder tbOrder);


}
